﻿//
// TaskRepository.cs
//
// Authors:
//    Lasse Andreas Hauge Petersen <09547@iha.dk>
//    Søren Flohr Nielsen <10638@iha.dk>
//    Claus Jørgensen <10229@iha.dk>
//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Data.Objects;
using System.Diagnostics.Contracts;

namespace RSD.Data
{
    /// <summary>
    /// Represents a Script Repository.
    /// </summary>
    public interface IScriptRepository : IRepository<Script>
    {
    }

    /// <summary>
    /// Represents a Script Repository.
    /// </summary>
    public sealed class ScriptRepository : RepositoryBase<Script>, IScriptRepository
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ScriptRepository"/> class.
        /// </summary>
        /// <param name="context">The context.</param>
        public ScriptRepository(IObjectContext context)
            : base(context)
        {
            Contract.Requires(context != null);
        }
    }
}
